﻿<%@ Page Title="Contact Us &laquo; Sylvain Analytics, Inc." Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true"
    CodeFile="Contacts.aspx.cs" Inherits="Contacts" %>

<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="Server">
    </asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="Server">
    <div class="mainSection">
        <div class="mainSection-top">
        </div>
        <div class="mainSection_span">
            <table border="0" width="100%">
                <tr>
                    <td>
                        <h1>
                            Contact Us</h1>
                    </td>
                    <td>
                        &nbsp;
                    </td>
                    <td>
                        &nbsp; <strong>Office Location</strong>
                    </td>
                    <td>
                        &nbsp;
                    </td>
                    <td rowspan="3" valign="top">
                    
                     <table cellpadding="0" cellspacing="0">
                     <tr>
                                <td align="left" style="padding-top:15px">
                        
                               <strong>Send us a message
                    </strong>

                                </td>
                            </tr>

                            <tr>
                                <td align="left">
                                     &nbsp;
                                </td>
                            </tr>

                            <tr>
                                <td align="left">
                        
                                <span style="color: #ff0000; font-size: 13px;">&nbsp;All fields are required
                    </span>

                                </td>
                            </tr>
                            <tr>
                                <td valign="top" class="formContactus">
                                    <table cellpadding="0" cellspacing="0">
                            
                            <tr>
                                <td>
                                    &nbsp;&nbsp;</td>
                            </tr>
                            <tr>
                                <td>
                                    Name:<label style="color:#ff0000;">*</label>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <asp:TextBox ID="txtName" MaxLength="35" runat="server"></asp:TextBox>
                                    <span style="color:#ffffff;"><asp:RequiredFieldValidator ID="RequiredFieldValidator1" Display="Dynamic" SetFocusOnError="true" runat="server" Text="*" ErrorMessage="Name is required"
                                        ControlToValidate="txtName" ValidationGroup="vgContact"></asp:RequiredFieldValidator></span>
                                </td>
                            </tr>
                            <tr>
                                <td style="padding-top:8px">
                                    Email:<label style="color:#ff0000;">*</label>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <asp:TextBox ID="txtEmail" MaxLength="35" runat="server"></asp:TextBox>
                                    <span style="color:#ffffff;">
                                    <asp:RequiredFieldValidator
                                        ID="RequiredFieldValidator2" Display="Dynamic" SetFocusOnError="true" runat="server" ErrorMessage="Email is required" Text="*"
                                        ControlToValidate="txtEmail" ValidationGroup="vgContact"></asp:RequiredFieldValidator>                                        
                                        <asp:RegularExpressionValidator ID="RegularExpressionValidator2" runat="server" 
                                     ControlToValidate="txtEmail" Text="*" Display="Dynamic" ErrorMessage="Enter a valid Email Id" 
                                     SetFocusOnError="True" 
                                     ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*" 
                                      ValidationGroup="vgContact"></asp:RegularExpressionValidator>
                                        </span>
                                </td>
                            </tr>
                            <tr>
                                <td style="padding-top:8px">
                                    Phone:<label style="color:#ff0000;">*</label>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <asp:TextBox ID="txtPhone" MaxLength="35" runat="server"></asp:TextBox>
                                    <span style="color:#ffffff;">
                                    <asp:RequiredFieldValidator ID="RequiredFieldValidator3" Display="Dynamic" SetFocusOnError="true" runat="server" Text="*" ErrorMessage="Phone is required"
                                        ControlToValidate="txtPhone" ValidationGroup="vgContact"></asp:RequiredFieldValidator>
                                        <asp:RegularExpressionValidator ID="RegularExpressionValidator3" ControlToValidate="txtPhone" ValidationGroup="vgContact"
                                        Display="Dynamic" SetFocusOnError="true" runat="server" Text="*" ErrorMessage="Invalid Phone"
                                        ValidationExpression="^\d+$"></asp:RegularExpressionValidator>
                                        </span>
                                </td>
                            </tr>
                            <tr>
                                <td style="padding-top:8px">
                                    Message:<label style="color:#ff0000;">*</label>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <asp:TextBox ID="txtMessage" runat="server" TextMode="MultiLine"></asp:TextBox>
                                    <span style="color:#ffffff;">
                                    <asp:RequiredFieldValidator ID="RequiredFieldValidator4" Display="Dynamic" SetFocusOnError="true" runat="server" Text="*" ErrorMessage="Message is required"
                                        ControlToValidate="txtMessage" ValidationGroup="vgContact"></asp:RequiredFieldValidator></span>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <br />
                                    <span>
                                        <asp:ImageButton ID="imgSend" ImageUrl="Images/btn_send.png" runat="server" OnClick="btnSend_Click" ValidationGroup="vgContact" />
                                        <asp:ValidationSummary ID="ValidationSummary1" runat="server" ValidationGroup="vgContact"
                                    ShowMessageBox="true" ShowSummary="false" EnableClientScript="true" />
                                    </span>
                                </td>
                            </tr>
                        </table></td>
                            </tr>
                        </table>

                        





                    </td>
                </tr>
                <tr>
                    <td valign="top" rowspan="2" class="mainSection_contacts-Text-left">
                        <ul>
                            <li>Phone:</li>
                            <li>703-689-2472</li>
                            <li>
                                <br />
                            </li>
                            <li>Fax:</li>
                            <li>703-689-4031</li>
                            <li>
                                <br />
                            </li>
                            <li>Email:</li>
                            <li><a href="mailto:info@sylvainanalytics.com">info@sylvainanalytics.com</a></li>
                        </ul>
                    </td>
                    <td>
                        &nbsp;
                    </td>
                    <td class="mainSection-Text">
                        12007 Sunrise Valley Dr.<br />
                        Suite # 105<br />
                        Reston, VA 20191
                    </td>
                    <td>
                        &nbsp;
                    </td>
                </tr>
                <tr>
                    <td>
                        &nbsp;
                    </td>
                    <td valign="top">
                        <img src="Images/img_map.png" alt=""/><br />
                          <img src="Images/btn_getdirections.png" alt="" onclick="window.open('http://maps.google.com/maps?hl=en&q=12007+Sunrise+Valley+Drive,+Reston,+VA+20191,+United+States&um=1&ie=UTF-8&hq=&hnear=0x89b649c3a1fab483:0xe666bed93debd535,12007+Sunrise+Valley+Dr,+Reston,+VA+20191&ei=7ohoTsOHCYmsrAekmvzhCg&sa=X&oi=geocode_result&ct=title&resnum=1&ved=0CBUQ8gEwAA')" />
                      
                       <%-- <asp:HyperLink ID="HyperLink2" runat="server" ImageUrl="Images/btn_getdirections.png"
                            NavigateUrl="http://maps.google.com/maps?hl=en&q=12007+Sunrise+Valley+Drive,+Reston,+VA+20191,+United+States&um=1&ie=UTF-8&hq=&hnear=0x89b649c3a1fab483:0xe666bed93debd535,12007+Sunrise+Valley+Dr,+Reston,+VA+20191&ei=7ohoTsOHCYmsrAekmvzhCg&sa=X&oi=geocode_result&ct=title&resnum=1&ved=0CBUQ8gEwAA"></asp:HyperLink>--%>
                    </td>
                    <td>
                        &nbsp;
                    </td>
                </tr>
            </table>
        </div>
    </div>
</asp:Content>
